package com.spt.springbootzhsx.service;

import com.spt.springbootzhsx.entity.User;
import com.spt.springbootzhsx.entity.back.UserBack;
import com.spt.springbootzhsx.entity.count.UserWatchRecord;
import com.spt.springbootzhsx.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.text.ParseException;
import java.util.ArrayList;

public interface UserService {
    User getUserByUid(Integer uid);
    Integer registUser(User user);
    User updateUser(User user);
    User vipPay(Integer uid);
    String findPassword_step1(Integer uid);
    String findPassword_step2(Integer uid,String password,Integer yzm);
    ArrayList<UserWatchRecord> getRecordByUid(Integer uid);
    ArrayList<UserBack> getUserAndVip();
    String deleteUserAndVip(Integer uid);
    String getOpenIdByToken(String token);
    String getSessionKeyByToken(String token);
    String getUnionIdByToken(String token);
}
